<?php
namespace cosocket\application\models;

use cosocket\system\base\Model;

class UserModel extends Model
{
    protected $id                 = 0;  // 用户ID
    protected $nickname           = ''; // 昵称
    protected $avatar             = ''; // 头像
    protected $gender             = 0;  // 性别
    protected $coin               = 0;  // 金币
    protected $diamond            = 0;  // 钻石
    protected $vip_lv             = 0;  // VIP等级
    protected $last_login_time    = 0;  // 最后登录时间
    protected $last_login_ip      = ''; // 最后登录IP


    public function init($user)
    {
        parent::init($user);
    }

    public function __destruct()
    {
    }
}
